package com.gree.portal.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * 订单
 * @since 1.0.0
 */
@Controller
@RequestMapping("order")
public class OrderController {

    /**
     * 跳转订单系统
     * @param request
     * @return
     */
    @RequestMapping("toPreOrder")
    public String toPreOrder(HttpServletRequest request) {
        return "redirect:" + request.getSession().getServletContext().getAttribute("orderUrl") + "o rder / preOrder ";
    }
}